<?php /* Smarty version Smarty-3.1.6, created on 2018-05-08 14:40:23
         compiled from "D:/phpStudy/PHPTutorial/WWW/myshop/Home/View\IntegralGoods\req_header.html" */ ?>
<?php /*%%SmartyHeaderCode:699521225af14657443241-11783624%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7cd018820d3944e9e381872e6af277aeb02894ce' => 
    array (
      0 => 'D:/phpStudy/PHPTutorial/WWW/myshop/Home/View\\IntegralGoods\\req_header.html',
      1 => 1525761621,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '699521225af14657443241-11783624',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5af1465756e18',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5af1465756e18')) {function content_5af1465756e18($_smarty_tpl) {?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit"><!--360优先使用极速核-->
    <meta http-equiv="X-UA-COMPATIBLE" content="chrome=1,IE=Edge"><!--优先谷歌内核，最新ie-->
    <meta http-equiv="Cache-Control" content="no-siteapp"><!--不转码-->
    <!-- Mobile Devices Support @begin 针对移动端设置-->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <!--文档宽度与设备宽度1：1 不允许缩放 -->
    <!-- apple devices -->
    <meta name="apple-mobile-web-app-title" content="快马加鞭
"> <!--添加到主屏后的标题-->
    <meta name="apple-mobile-web-app-capable" content="yes"/> <!--启用WebApp全屏模式 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><!-- 顶端状态条 -->
    <meta name="apple-touch-fullscreen" content="yes"><!--全屏显示 -->
    <meta name="format-detection" content="telephone=no,email=no,address=no"><!--不识别电话邮箱地址-->
    <!-- Mobile Devices Support @end -->
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="author" content="Near"><!--作者-->
    <title></title>
    <link rel="shortcut icon" href="<<?php ?>?php echo $static_path;?<?php ?>>/images/logo.ico" type="image/x-icon">
    <!-- External CSS -->
	<link rel="stylesheet" href="<<?php ?>?php echo $static_path;?<?php ?>>/css/weui0.42.css" />
	<link rel="stylesheet" href="<<?php ?>?php echo $static_path;?<?php ?>>/css/font-awesome.min.css" />
    <!--todo：涉及UI的框架css，思考如果实现可配置-->
    <!--todo：初步想法，使用php里的 include 外链一段css，测试可行，可以通过后台传入参数-->
    <!--todo：开发注意提取元素就好-->
    <!--用php输出下面style-->
   <script src="<?php echo @PUBLIC_PATH;?>
js/jquery1.7.min.js" type="text/javascript" charset="utf-8"></script>
   <script src="<?php echo @PUBLIC_PATH;?>
js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
   <script src="<<?php ?>?php echo $static_path;?<?php ?>>/js/myalert.js" type="text/javascript" charset="utf-8"></script>
    <style><<?php ?>?php include UCT_PATH.'app/shop/tpl/sp/color.tpl' ?<?php ?>></style>
    <link rel="stylesheet" href="<<?php ?>?php echo $static_path;?<?php ?>>/css/style.css">
    	<style type="text/css">
    		.container{ padding: 1%;margin-bottom: 60px;}
			.b-main,.color-main,.active-bg,.bg-primary,.order-green-ball{ background:#8A2BE2 !important;color: #fff;}
			.c-green,.text-active,.secondary-font,.text-primary,.big-text .fa,.active-border{ color:#<<?php ?>?php echo ($color1)? $color1:'333'?<?php ?>> !important;}
			.svg-main{ fill:#<<?php ?>?php echo ($color1)? $color1:'333'?<?php ?>> !important;}
			.active-bottom{ border-bottom: thin solid #<<?php ?>?php echo ($color1)? $color1:'eee'?<?php ?>>}
			.btn{  
    width: 100px;  
    height: 35px;  
    border-radius: 5px;  
    font-size: 16px;  
    color: white;  
    background-color: cornflowerblue;  
}  
.btn:hover, .btn:focus{  
    background-color: #95b4ed;  
}  
.modal{  
    display: none;  
    width: 100%;  
    height: 100%;  
    position: fixed;  
    left: 0;  
    top: 0;  
    z-index: 1000;  
    background-color: rgba(0,0,0,0.5);  
}  
.modal-content{  
    display: flex;  
    flex-flow: column nowrap;  
    justify-content: space-between;  
    width: 70%;
    max-width: 600px; 
      
    max-height: 500px;  
    margin: 100px auto;  
    border-radius:15px;  
    background-color:#fff;  
    /*-webkit-animation: zoom 0.6s;*/  
    /*animation: zoom 0.6s;*/  
    /*resize: both;*/  
    /*overflow: auto;*/  
}  
@-webkit-keyframes zoom{  
    from { -webkit-transform: scale(0)}  
    to { -webkit-transform: scale(1)}  
}  
@keyframes zoom{  
    from { transform: scale(0)}  
    to { transform: scale(1)}  
}  
.modal-header{  
    box-sizing:border-box;  
    /*border-bottom:1px solid #ccc;*/  
    display: flex;  
    justify-content: space-between;  
    align-items: center;  
}  
.close{  
    color: #b7b7b7;  
    font-size: 30px;  
    font-weight: bold;  
    margin-right: 20px;  
    transition: all 0.3s;  
}  
.close:hover, .close:focus{  
    color: #95b4ed;  
    text-decoration: none;  
    cursor: pointer;  
}  
.modal-body{ 
	margin-top: 20px; 
    padding:10px 10px 20px 10px; 
    font-size: 16px;  
    box-sizing:border-box;  
}  
.modal-footer{  
	height: 35px;
	width: 100%;
    box-sizing:border-box;  
    border-top: 1px solid #ebebeb;  
    display: flex;  
    /*border-radius:0px 0px 15px 15px;*/   
    justify-content: flex-end;  
    align-items: center;  
}  
.modal-footer button{  
    width: 50%;  
    height: 35px;  
    /*padding: 5px;*/  
    box-sizing: border-box;  
    /*margin-right: 10px;*/  
    font-size: 16px;  
    color: #009BFE;
    border:0px;  
    /*border-radius: 5px;*/ 
    background-color:white;  
}  
.modal-footer button:hover, .modal-footer button:focus{  
    background-color: #95b4ed;  
    cursor: pointer;  
}  
@media only screen and (max-width: 700px){  
    .modal-content {  
        width: 70%;  
    }  
}
    	</style>
</head>
<body>


<div data-widget="tools" data-tools="tools_widget" id="tools_widget" class="tools_widget">
    <div class="widget_wrap">
        <ul class="tools_widget_wrap">
            <li id="tools_kfli" class="">
                <a href="" id="tolls_widget_message" class="tolls_widget_message" target="_self"></a>
            </li>
            <li id="tools_kfli2" style="height: 0px; overflow: hidden; transition: height 0.2s ease;">
                <a href="javascript:;" id="tools_widget_goTop" class="tools_widget_goTop border" target="_self"></a>
            </li>
        </ul>
    </div>
</div>

<div id="modal" class="modal">  
    <div class="modal-content">  
        <header class="modal-header">  
            <h4 style="margin-left: 20px;display: none;">提示</h4>  
            <span class="close hide">×</span>  
        </header>  
        <div class="modal-body">  
            <p style="text-align:center;font-weight: bold;font-size: 15px;"></p>  
        </div>  
        <footer class="modal-footer">  
        	<button id="sure" style="border-radius:0px 0px 0px 15px;">确定</button>  
            <button id="cancel" style="border-radius:0px 0px 15px 0px;">取消</button>  
        </footer>  
    </div>  
</div>

史蒂芬顺丰速递
<script>
	/*
	 警告框myalert使用方法
	 1.引入myalert文件<script src="<<?php ?>?php echo $static_path;?<?php ?>>/js/myalert.js" type="text/javascript" charset="utf-8">
	 参数message：窗口文字
	参数callback：确定后的回调函数
	 myalert('删除成功',function(){
                       window.location.reload();
                                    });
	 * */

	/*
	 模态框使用方法
	 参数content：窗口文字
	参数callback：成功后的回调函数
	 myconfirm('确定申请全额退款吗？',function(result){
                        	window.location.href = '?_a=shop&_u=user.refund&uid='+uid
                        })
	 * */
	var close = document.getElementsByClassName('close')[0];  
    var cancel = document.getElementById('cancel');  
    var modal = document.getElementById('modal');
    var sure = document.getElementById('sure');
	function myconfirm(content,callback){
    	$('.modal-body').children('p').text(content);
    	modal.style.display = "block";
    	close.addEventListener('click', function(){  
        modal.style.display = "none";
        //return false;
        });  
        cancel.addEventListener('click', function(){  
            modal.style.display = "none";
            //return false;
        });
        sure.addEventListener('click', function(){  
            modal.style.display = "none";
            callback.call(this,true);
        });
    }
    var wheight = $(window).height();
    $(window).scroll(function(){
        var top = $(window).scrollTop();
        var height = parseInt($("#tools_kfli2").css('height'));
        if((top>=wheight)&&(height==0)){
            $("#tools_kfli2").height('40px');
        }else if((top<wheight)&&(height==40)){
            $("#tools_kfli2").height('0px');
        }
    });
    $("#tools_widget_goTop").click(function(){
        $('body,html').animate({ scrollTop:0},500);
    })
    //修改alert样式
    window.alert = function(name){  
             var iframe = document.createElement("IFRAME");  
            iframe.style.display="none";  
            iframe.setAttribute("src", 'data:text/plain,');  
            document.documentElement.appendChild(iframe);  
            window.frames[0].window.alert(name);  
            iframe.parentNode.removeChild(iframe);  
        }
    //修改confirm样式
    window.confirm = function(name){  
    
    var iframe = document.createElement("IFRAME");
    iframe.style.display="none";  
    iframe.setAttribute("src", 'data:text/plain,');  
    document.documentElement.appendChild(iframe);  
    window.frames[0].window.confirm(name); 
    var result = window.frames[0].window.confirm(name);
    iframe.parentNode.removeChild(iframe);   
    return result;
}
    //让提示框居中  
    $(".modal-content").css('margin-top',(document.documentElement.clientHeight - $(".modal-content").height()) / 3 + "px" );
</script>
<?php }} ?>